home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
memsz130.zip
/
MEMSIZE.HLP
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1993-03-14
|
7KB
|
156 lines
ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
This program displays several items related to system resources, and updates
the display once per second, providing it is given CPU time to do so. The
items displayed are:
Available Memory - The amount of system memory available, according to the
DosMemAvail function. Under OS/2 1.x, this function supposedly reports the size
of the largest single block of free memory, although some have said that with
the MEMMOVE option turned on, that's the same as the total free memory. Under
OS/2 2.0, the true amount of unused physical memory is reported, or 512K,
whichever is larger. There is a new function under the 32-bit API which reports
how much physical memory exists, how much is committed to the resident system
and how much is free, but since this program is a 16-bit application, I don't
have access to the function.
Swap File Size - The current size of the system virtual memory swap file,
SWAPPER.DAT. To locate the file, the file CONFIG.SYS is scanned for its
SWAPPATH entry. That entry provides the full name of the swap-file's directory
and indicates the minimum free space that must be left on the swap-file's disk
drive.
Available Swap Space - The amount of free disk space on the logical disk drive
where the system swap file resides, less the mininum free space. This is how
much more the swap file could expand, if necessary.
Spool File Size - The amount of disk space consumed by spool files.
CPU Load (%) - The approximate percentage of the CPU's available horsepower
that's being used at the moment. It is averaged over the previous second. On
my home system, which is a '286, the normal activity shows 8-10% when nothing
except MEMSIZE and my clock are active. On my system at work, a 20MHz 386
running OS/2 2.0, the normal activity shows about 20%. I presume the extra
overhead has to do with the swap-file optimizer.
Drive X Free - The amount of free space on drive X.
The help facility is active, as you've already seen, and those program commands
that exist may be accessed via the window's system menu. The following
commands are available:
Save Defaults
Reset Defaults
Hide Controls
Show Memory Free
Show Swapfile Size
Show Swapdisk Free
Show Spoolfile Size
Show CPU Load
Show C: Free Space
About
In addition to those features already described, this program accepts commands
from the OS/2 2.0 Font and Color Palette programs. I don't know of equivalent
programs for OS/2 1.x, but from what I've learned, making such a thing should
be no big deal. The basic palette function does not require OS/2 2.0 to make
it work, since it uses the presentation parameter facility added under OS/2
1.2.
ΓòÉΓòÉΓòÉ 2. Save Defaults (Menu Option) ΓòÉΓòÉΓòÉ
When you select this menu option, the program saves its current position and
the status of the Hide Controls option. The next time the program is started,
it will be started with that position and with the controls hidden (or not)
according to the saved state.
The short-cut key for this command is F2.
ΓòÉΓòÉΓòÉ 3. Reset Defaults (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this menu option will reset the program's font and color attributes
to their default values.
ΓòÉΓòÉΓòÉ 4. Hide Controls (Menu Option) ΓòÉΓòÉΓòÉ
This menu option, when selected, will cause the program's frame controls (the
system menu, the titlebar and the minimize button) to be hidden. This option
can be toggled with a double-click on either mouse button. Also, since I saw it
as very useful to be able to move the window while the controls were hidden,
the window has been set up so that you can drag it with either mouse button.
ΓòÉΓòÉΓòÉ 5. Show Memory Free (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the amount of system memory
free is displayed. If the option is check-marked, the free memory is being
displayed currently. When the option's state is changed, the program window
will automatically resize itself to suit the new number of displayed items.
ΓòÉΓòÉΓòÉ 6. Show Swapfile Size (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the swap-file's current size
is displayed. If the option is check-marked, the file size is being displayed
currently. When the option's state is changed, the program window will
automatically resize itself to suit the new number of displayed items.
ΓòÉΓòÉΓòÉ 7. Show Swap Space Free (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the available swap space is
displayed. If the option is check-marked, the free space is being displayed at
this time. When the option's state is changed, the program window will
automatically resize itself to suit the new number of displayed items.
ΓòÉΓòÉΓòÉ 8. Show Spoolfile Size (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the amount of disk space
consumed by the spooler is displayed. If the option is check-marked, the
amount is being displayed at this time. When the option's state is changed,
the program window will automatically resize itself to suit the new number of
displayed items.
ΓòÉΓòÉΓòÉ 9. Show CPU Load (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the current CPU load is
displayed. If the option is check-marked, the free space is being displayed at
this time. When the option's state is changed, the program window will
automatically resize itself to suit the new number of displayed items.
ΓòÉΓòÉΓòÉ 10. About (Menu Option) ΓòÉΓòÉΓòÉ
This menu option, when selected, will cause the program's About dialog to be
displayed.
ΓòÉΓòÉΓòÉ 11. About (Dialog) ΓòÉΓòÉΓòÉ
This dialog box displays the program name, icon and copyright information. To
exit the dialog, press the ENTER key, the SPACE bar or the ESCAPE key.
ΓòÉΓòÉΓòÉ 12. Show C: Free Space (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this option will toggle whether or not the free space on drive C: is
displayed. If the option is check-marked, the free space is being displayed at
this time. When the option's state is changed, the program window will
automatically resize itself to suit the new number of displayed items.
ΓòÉΓòÉΓòÉ 13. Keys Help ΓòÉΓòÉΓòÉ
The following function keys have been defined for this program:
F1 - Help
F2 - Save Defaults
F3 - Exit